#ifndef ADDINFO_H
#define ADDINFO_H

#include <QMainWindow>
#include <qDebug>
#include "MySQLDBHelper.h"

namespace Ui {
class AddInfo;
}

class AddInfo : public QMainWindow
{
    Q_OBJECT

public:
    explicit AddInfo(QWidget *parent = 0);
    void setId(int);
    void getInfo(int);
    void setSignals();
    ~AddInfo();

signals:
    void sendMsg(int);

public slots:
    void save();

private:
    Ui::AddInfo *ui;
    int id;
    void reset();
};

#endif // ADDINFO_H
